<%@page import="java.sql.DriverManager"%>
<%@page import="com.sun.org.apache.bcel.internal.generic.DMUL"%>
<%@page import="java.sql.Connection"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page session="true" %>
<%@ page import="edu.tsinghua.eea.powermanagement.data.*,java.util.Iterator,java.text.SimpleDateFormat" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>用电监测系统</title>
</head>
<body>	
<%
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/powermanagement", "root", "ddsddmysql");
if(conn == null){
	out.println("数据库测试失败");
} else {
	out.println("数据库测试成功");
}
%>
</body>

</html>